Text Cell:
# Chapter 6 Colab Report


add to the text cell:
## NumPy Examples
This section repeats the NumPy examples from Chapter 2 in Google Colab.


Code Cell:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns


Second code cell:
arr = np.array([1, 2, 3, 4])
print(arr)

arr2 = arr * 2
print(arr2)

Create a text cell and include the header
## Pandas Examples

Now Create a code cell containing the following code and run it:
data = {'name': ['Alice', 'Bob'], 'age': [25, 30]}
df = pd.DataFrame(data)
df

filtered = df[df['age'] > 25]
filtered

df.describe()

Create a text cell and include the header
##Matplotlib Examples

Now create a code cell containing the following code and run it.
plt.plot([1, 2, 3, 4], [10, 20, 25, 30])
plt.xlabel('X Axis')
plt.ylabel('Y Axis')
plt.title('Simple Line Plot')
plt.show()

Create a text cell and include the header
##Seaborn Examples

Now create a code cell containing the following code and run it.
data = {'x': [1, 2, 3, 4], 'y': [10, 20, 25, 30]}
sns.scatterplot(x=data['x'], y=data['y'])
plt.show()

Add this to the same cell.
sns.histplot([1, 2, 2, 3, 3, 3, 4])
plt.title('Seaborn Histogram')
plt.show()







